package cn.edu.sgu.www.mhxysy.service.chongwu.impl;

import cn.edu.sgu.www.mhxysy.entity.chongwu.ChongwuSkillTag;
import cn.edu.sgu.www.mhxysy.mapper.chongwu.ChongwuSkillTagMapper;
import cn.edu.sgu.www.mhxysy.service.chongwu.ChongwuSkillTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Service
public class ChongwuSkillTagServiceImpl implements ChongwuSkillTagService {

    private final ChongwuSkillTagMapper chongwuSkillTagMapper;

    @Autowired
    public ChongwuSkillTagServiceImpl(ChongwuSkillTagMapper chongwuSkillTagMapper) {
        this.chongwuSkillTagMapper = chongwuSkillTagMapper;
    }

    @Override
    public List<ChongwuSkillTag> selectAll() {
        return chongwuSkillTagMapper.selectList(null);
    }

    @Override
    public ChongwuSkillTag selectById(Integer id) {
        return chongwuSkillTagMapper.selectById(id);
    }

}